package org.laobai.shop.goods.service;

import java.util.List;

import org.laobai.shop.goods.entity.Spec;
import org.laobai.shop.goods.entity.SpecOption;

import com.github.pagehelper.PageInfo;

public interface SpecService {
	PageInfo<Spec> page(int currPage,Spec spec);

	boolean saveSpec(Spec spec);

	List<Spec> getSpecList();

	List<SpecOption> getOptionsBySpecId(Integer specId);

	List<Spec> getBySkuId(List<Integer> skuIds);
}
